<template>
  <div>
    <div class="navbar">
      <van-nav-bar title="我的">
        <template #right>
          <van-icon name="setting" size="20" color="#000" />
        </template>
      </van-nav-bar>
    </div>
    <div class="my-content">
      <div class="img-box">
        <img src="@/assets/user.png" alt="" />
      </div>
      <div class="bottom">
        <ul class="my-list">
          <li>
            <span>0</span>
            <span>粉丝</span>
          </li>
          <li>
            <span>0</span>
            <span>关注</span>
          </li>
          <li>
            <span>0</span>
            <span>收藏</span>
          </li>
        </ul>
      </div>
    </div>
    <div class="create-center">
      <div class="top">
        <p>创作中心</p>
        <span>草稿箱</span>
      </div>
      <div class="center">
        <div class="left">
          <div class="img-box">
            <van-icon name="video-o" size="40"></van-icon>
          </div>
          <div class="text">
            <h3>发布公开作品</h3>
            <span>分享你的个人作品</span>
          </div>
        </div>
        <div class="right">
          <div class="img-box">
            <van-icon name="upgrade" size="40"></van-icon>
          </div>
          <div class="text">
            <h3>上传私密视频</h3>
            <span>加密分享，高清播放</span>
          </div>
        </div>
      </div>
      <div class="bottom">
        <ul class="list">
          <li>传输列表</li>
          <li>会员中心</li>
          <li>
            私密视频
            <div>私密视频移到这啦</div>
          </li>
          <li>我的课程</li>
          <li>我的订单</li>
          <li>作品通</li>
        </ul>
      </div>
    </div>
    <div class="footer">
      <van-button
        color="linear-gradient(to right, #ff6034, #ee0a24)"
        size="large"
      >
        退出登录
      </van-button>
    </div>
  </div>
</template>
<script>

export default {

};
</script>
<style lang="scss" >
.navbar {
  background-color: #f4f4f4;
  .van-nav-bar {
    height: 12.2657vw;

    .van-nav-bar__content {
      height: 12.2657vw;

      .van-nav-bar__title {
        height: 12vw;
        line-height: 12vw;
        font-weight: bold;
      }
    }
    .van-nav-bar__title {
      font-size: 32px;
    }
    .van-nav-bar__right {
      right: 10px;
    }
  }
}
.my-content {
  margin-top: 50px;
  .img-box {
    width: 100%;
    display: flex;  
    justify-content: center;
    img {
      width: 10.8696vw;
      height: 10.8696vw;
    }
  }
  .bottom {
    margin-top: 80px;

    .my-list {
      display: flex;
      justify-content: space-around;
      li {
        text-align: center;
        span {
          display: block;
          font-size: 24px;
          font-weight: bold;
        }
      }
    }
  }
}
.create-center {
  margin-top: 50px;
  padding-bottom: 60px;
  .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    p {
      font-size: 32px;
      font-weight: bold;
    }
    span {
      font-size: 24px;
      color: #999999;
    }
  }
  .center {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    margin-top: 50px;

    .left {
      width: 48%;
      height: 12vw;
      background: #f4f4f4;
      display: flex;
      align-items: center;
      background: #fff;
      border-radius: 15px;
      .img-box {
        width: 30%;
        height: 100%;
        .van-icon {
          top: 10px;
          left: 10px;
        }
      }
      .text {
        width: 60%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        p {
          font-size: 24px;
          font-weight: bold;
        }
        span {
          font-size: 20px;
          color: #999999;
        }
      }
    }
    .right {
      width: 48%;
      height: 12vw;
      background: #fff;
      display: flex;
      align-items: center;
      border-radius: 15px;
      .img-box {
        width: 30%;
        height: 100%;
        .van-icon {
          top: 10px;
          left: 10px;
        }
      }
      .text {
        width: 60%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        p {
          font-size: 24px;
          font-weight: bold;
        }
        span {
          font-size: 20px;
          color: #999999;
        }
      }
    }
  }
  .bottom {
    margin-top: 50px;
    .list {
      display: flex;
      flex-wrap: wrap;
      flex-direction: column;
      justify-content: space-between;
      li {
        width: 100vw;
        height: 10.8696vw;
        background-color: #fff;
        font-size: 26px;
        padding-left: 10px;
        line-height: 10.8696vw;
        border-bottom: 1px solid #ccc;
      }
    }
  }
}
.footer {
  margin-top: 30px;
  padding: 0 20px;
  height: 20.2657vw;
  margin-bottom: 60px;
  .van-button {
    padding: 3.667vw;
    border-radius: 15px;
  }
}
</style>